package cn.cdiothree.domain.auth;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.time.LocalDateTime;
import java.util.Date;

//@Builder
@Data
public class User {
    private int id;
    @ApiModelProperty(value = "用户名", required = true)
    @Size(min=3, max=20)
    private String name;
    @ApiModelProperty(value = "密码", required = true)
    @Size(min=3, max=20)
    private String password;
    private String nickname;
    private String telephone;

    private Date updateTime;


}
